package com.member.provider.mapper;

import cn.hutool.system.UserInfo;
import com.member.dto.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MemberMapper {
    List<UserInfo> getUserInfo();

    int updatePayType(int pay_id);

    User login(@Param("userName") String userName, @Param("password") String password);

    int register(User user);

    User selectByName(String userName);
}
